package com.neusoft.neuiotms.dcom.vo;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
public class OperationSupportWeeklyImportVO implements IExcelDataModel, IExcelModel {

    @NotBlank(message = "不能为空")
    @Excel(name = "单位名称", width = 30, orderNum = "0")
    private String company;

    @NotNull(message = "不能为空")
    @Excel(name = "报告日期", orderNum = "1", format = "yyyy/MM/dd HH:mm:ss")
    private Date weekDate;

    @NotBlank(message = "不能为空")
    @Excel(name = "报告人", width = 30, orderNum = "2")
    private String user;

    @Excel(name = "实际到场人数", width = 10, orderNum = "3")
    private int actualAttendanceNumber;

    @Excel(name = "本周工作情况", width = 20, orderNum = "4")
    private String weekWorkInfo;

    @Excel(name = "总结描述", width = 30, orderNum = "5")
    private String summaryDesc;

    @Excel(name = "下周工作计划", width = 30, orderNum = "6")
    private String nextWeekWorkPlan;

    @Excel(name = "问题记录及解决方案", width = 30, orderNum = "7")
    private String problemOrSolution;

    @Excel(name = "备注", width = 30, orderNum = "8")
    private String remark;

    private int rowNum;

    private String errorMsg;

    @Override
    public Integer getRowNum() {
        return this.rowNum;
    }

    @Override
    public void setRowNum(final Integer rowNum) {
        this.rowNum = rowNum;
    }

    @Override
    public String getErrorMsg() {
        return this.errorMsg;
    }

    @Override
    public void setErrorMsg(final String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
